home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 71.zip
/
BS1 part 71
/
X-Cad3000_d5.adf
/
XCdoc
/
chgxh
< prev
next >
Wrap
Text File
|
1991-11-22
|
3KB
|
65 lines
5.8.2 CHANGE XHATCH
The CHANGE XHATCH command is used to alter the shape or to change the cross-
hatch parameters for an existing xhatch polygon entity.
COMMAND FORMAT
The command format varies depending on the modification mode chosen. The
different formats are explained with their associated modifiers.
MODIFIERS
ADD The ADD modifier is used to indicate that a sub-polygon
definition is to be added to an existing xhatch polygon. The
command format when using ADD is:
#CHANGE XHATCH ADD :Ent x1 :Loc x2 x3 ... xn [:Ent ... ]
'x1' is used to select the required xhatch polygon. Locations
'x2' through to 'xn' define the boundary of a sub-polygon which
is added to the xhatch polygon entity. This allows you to cut
out sections of an existing xhatch polygon. ( See fig. 5.57
).
SUBTRACT The SUBTRACT modifier is used to indicate that sub-polygon
definitions are to be removed from an existing xhatch polygon
entity. The command format when using SUBTRACT is:
#CHANGE XHATCH SUBTRACT :Ent x1 :Loc x2 ... xn [:Ent .. ]
'x1' is used to select the required xhatch polygon. Locations
'x2' through to 'xn' are used identify which sub-polygon
definitions are to be removed. The main xhatch polygon boundary
cannot be removed. ( See fig. 5.58 ).
EDIT The EDIT modifier is used to indicate that the main xhatch
polygon boundary or any sub-poygon boundary for an existing
xhatch entity will be altered. The command format when using
EDIT is:
#CHANGE XHATCH EDIT :Ent x1 :Loc x2 x3 ... xm xn [:Ent ]
'x1' is used to select the required xhatch polygon. Locations
'x2' through to 'xn' define the boundary alteration and are
also used to select whether the main xhatch polygon boundary
or a sub-polygon boundary will be changed.
Locations 'x2' and 'xn' mark the start and end of the boundary
alteration. Both the points 'x2' and 'xn' must lie in the
vicinity of the same xhatch polygon boundary. The boundary
nearest to these two points will be altered.
The new boundary shape is made by adding the section defined
by the locations 'x2' through to 'xn' at the two points where
the new section joins the existing boundary. These two points
are made at the intersection of the two vectors x2,x3 and
xm,xn with the selected xhatch polygon boundary. ( See fig.
5.59 ).